package net.huashitong.Indicators.entity;

import com.sirdc.modules.core.entity.StringEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "app_message")
public class AppMessage extends StringEntity {

    private String sender;              //发送方(userId)
    private String senderTel;           //发送方(手机号)
    private String receiver;            //接收方(userId)
    private String receiverTel;         //接收方(手机号)
    private String readStatus;          //阅读状态（1已读、0未读）
    private String msgTitle;            //消息标题
    private String source;              //来源
    private String msgText;             //详细文字内容
    private String picture;             //图片（1张）
    private boolean ifSMS;              //是否发送短信

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getSenderTel() {
        return senderTel;
    }

    public void setSenderTel(String senderTel) {
        this.senderTel = senderTel;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getReceiverTel() {
        return receiverTel;
    }

    public void setReceiverTel(String receiverTel) {
        this.receiverTel = receiverTel;
    }

    public String getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(String readStatus) {
        this.readStatus = readStatus;
    }

    public String getMsgText() {
        return msgText;
    }

    public void setMsgText(String msgText) {
        this.msgText = msgText;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getMsgTitle() {
        return msgTitle;
    }

    public void setMsgTitle(String msgTitle) {
        this.msgTitle = msgTitle;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public boolean isIfSMS() {
        return ifSMS;
    }

    public void setIfSMS(boolean ifSMS) {
        this.ifSMS = ifSMS;
    }
}
